﻿namespace AIO.IService.Base
{
    /// <summary>
    /// 仓库包装器
    /// </summary>
    public interface IRepositoryWrapper
    {
        /// <summary>
        /// 学生仓库
        /// </summary>
        IStudentRepository StudentRepository { get; }
        /// <summary>
        /// 年级仓库
        /// </summary>
        IDepartmentRepository DepartmentRepository { get; }

        /// <summary>
        /// 账户仓库
        /// </summary>
        IAccountRepository AccountRepository { get; }
        /// <summary>
        /// 设备仓库
        /// </summary>
        IEquipRepostory EquipRepostory { get; }

        IClassroomRepository ClassroomRepository { get; }

        ITeacherRepository TeacherRepository { get; }
        IEquipMaintenanceRepository EquipMaintenanceRepository { get; }

        ITeacherAttenderRepository TeacherAttenderRepository { get; }

        /// <summary>
        /// 缴费信息
        /// </summary>
        IPayInfoRepository PayInfoRepository { get; }
        ITimeTableRepository TimeTableRepository { get; }

        /// <summary>
        /// 宿管仓库
        /// </summary>
        IDormitoryManagerRepository DormitoryManagerRepository { get; }
        /// <summary>
        /// 设备报备
        /// </summary>
        IReportingRepository ReportingRepository { get; }
        Task<int> Save();
    }
}
